package com.xique.door.command;

import com.xique.common.core.web.domain.AjaxResult;
import com.xique.door.bean.domain.AccessDevice;
import com.xique.door.bean.domain.Visitor;

import java.util.List;

/**
 * @author shd
 * @create 2022/3/30 18:28
 */
public interface IDeviceVisitorCommandService {

    /**
     * 下发访客到设备
     * @author shd
     * @date 2022/3/30 18:30
     * @param accessDevices
     * @param visitors
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult downDevicesVisitors(List<AccessDevice> accessDevices, List<Visitor> visitors);


    /**
     * 删除设备访客
     * @author shd
     * @date 2022/3/30 18:30
     * @param accessDevices
     * @param visitors
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult deleteDevicesVisitors(List<AccessDevice> accessDevices, List<Visitor> visitors);
}
